﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BPM.Service;
using BPM.Entity;

namespace WebTest
{
	/// <summary>
	/// Summary description for UnitTest1
	/// </summary>
	[TestClass]
	public class DAL : TestBase
	{
		[ClassInitialize()]
		public static void ClassInitialize(TestContext testContext)
		{
			InitializeApplication();
		}

		[TestMethod]
		public void DAL_GenerateDataBase()
		{
			var c = new BarcodeContext();
			var u = c.Set<User>().FirstOrDefault();
		}
	}
}
